export const getTimeStr = () => {
  let hour = new Date().getHours()
  if (hour <= 8) {
    return '早上好'
  } else if (hour <= 11) {
    return '上午好'
  } else if (hour <= 13) {
    return '中午好'
  } else if (hour <= 18) {
    return '下午好'
  } else {
    return '晚上好'
  }
}
